package com.atguigu.xiaozhi.assistant;

import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;


// chatMemory：固定单一记忆（不支持 @MemoryId）
@AiService(
        wiringMode =  EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemory = "chatMemory"
)
public interface MemoryChatAssistant {
    String chat(String message);
}
